package com.gxa.domain.entity;


import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class PlanList implements Serializable {
    //主键id
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //计划类型
    @ExcelProperty(value = {"计划类型"}, index = 0)
    private String planType;
    //知产编号
    @ExcelProperty(value = {"知产编号"}, index = 1)
    private Integer intellectualId;
    //项目编号
    @ExcelProperty(value = {"项目编号"}, index = 2)
    private String projectId;
    //项目名称
    @ExcelProperty(value = {"项目名称"}, index = 3)
    private String projectName;
    //物料表述
    @ExcelProperty(value = {"物料表述"}, index = 4)
    private String wasteDescription;
    //计划时间
    @ExcelProperty(value = {"计划时间"}, index = 5)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date planTime;
    //入库数量
    @ExcelProperty(value = {"入库数量"}, index = 6)
    private String planNumber;
    //入库状态
    @ExcelProperty(value = {"入库状态"}, index = 7)
    private Integer receivingStatus;
    //入库数量
    @ExcelProperty(value = {"入库数量"}, index = 8)
    private String receivingNumber;
    //出库状态
    @ExcelProperty(value = {"出库状态"}, index = 9)
    private Integer shippingStatus;
    //出库数量
    @ExcelProperty(value = {"出库数量"}, index = 10)
    private String shippingNumber;
    //派工状态
    @ExcelProperty(value = {"派工状态"}, index = 11)
    private Integer dispatchStatus;
    //计划状态
    @ExcelProperty(value = {"计划状态"}, index = 12)
    private Integer planStatus;
}
